<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:a="https://github.com/pylonide/pylon" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <script src="../ppc.js"></script>
    </head>
    <body>
        <a:skin src="../skins/platform/trunk/xml/_index.xml" media-path="../skins/platform/trunk/images/" icon-path="../icons/" />
        
        <a:vbox anchors="0 0 0 0" id="vbMain">
            <a:toolbar id="tbMain">
                <a:menubar id="barMenu">
                    <a:button submenu="mnuFile">File</a:button>
                    <a:button submenu="mnuExample">Example</a:button>
                    <a:button submenu="mnuEditors">Editors</a:button>
                    <a:button submenu="mnuCtxEditor">Context Menu</a:button>
                </a:menubar>
            </a:toolbar>

            <span>
                &#8984; &#8997; &#8679; &#9099;
            </span>
            
            <a:hbox padding="3">
                <a:button onclick="alert('who fired me?')" hotkey="{ppc.isMac ? 'Command-Z' : 'Ctrl-Z'}">Click Me!</a:button>
            </a:hbox>
        </a:vbox>
        
        <a:menu id="mnuFile">
            <a:divider />
            <a:item>Exit</a:item>
        </a:menu>

        <a:menu id="mnuExample">
            <a:item onclick="alert('fired remove plugin!')">Remove Search&amp;Replace Plugin</a:item>
            <a:item onclick="alert('fired add plugin!')">Add Search&amp;Replace Plugin</a:item>
        </a:menu>

        <a:menu id="mnuEditors">
        </a:menu>

        <a:menu id="mnuCtxEditor">
            <a:item onclick="alert('Cut!')"   hotkey="{ppc.isMac ? 'Command-X' : 'Ctrl-X'}">Cut</a:item>
            <a:item onclick="alert('Copy!')"  hotkey="{ppc.isMac ? 'Command-C' : 'Ctrl-C'}">Copy</a:item>
            <a:item onclick="alert('Paste!')" hotkey="{ppc.isMac ? 'Command-P' : 'Ctrl-P'}">Paste</a:item>
        </a:menu>
    </body>
</html>